home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr48
/
pasclern.zip
/
REPEATLP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-04-01
|
297b
|
15 lines
PROGRAM repeat_loop_example;
VAR count : INTEGER;
BEGIN
count := 4;
REPEAT
WRITE('This is in the ');
WRITE('REPEAT loop, and ');
WRITE('the index is',count:4);
WRITELN;
count := count + 2;
UNTIL count = 20;
WRITELN(' We have completed the loop ');
END.